Click any tag below to further narrow down your results
Links
@Raytar on X
A post from @raytar says a friend on Andrej Karpathy's team at Anthropic shared the CLAUDE.md file he uses, and that it makes Claude follow instructions far better from the first message. The post is a short pitch with no technical detail, so the file itself is the real content, and it is linked as an article rather than shown inline.
- The author says a CLAUDE.md file from a colleague of Andrej Karpathy, who joined Anthropic five weeks ago, changed how Claude behaves for them.
- The claimed benefit is that Claude stops resisting their requests and works the way they need from the first message.
- The post itself gives no specifics on what the file contains, so the claims are unverified.
The article breaks down the recently leaked source code of Anthropic's Claude Code CLI. It highlights the system's architecture, design choices, and differences from OpenAI's Codex, particularly in handling context overflow and user interactions. Key features like compaction strategies and internal versus external user instructions are explored.
- Claude Code uses a four-tiered compaction strategy (proactive token monitoring, reactive fallback, and a "snip compaction" mode for headless sessions) versus Codex's simpler diff-based approach that just minimizes data sent per turn
- The system prompt uses a boundary marker to cache roughly 3,000 tokens of static instructions across users for performance gains
- Internal users get specialized instructions specifically designed to stop the model from misrepresenting test results or giving misleading status updates
- The codebase includes feature flags and build-time checks specifically to prevent sensitive information from leaking into public builds
User feedback is highly valued and taken seriously by the team. For a comprehensive list of available qualifiers, users are directed to the documentation. An error occurred while loading the page, prompting a reload.
- The page failed to load properly, so the actual leaked Anthropic system prompt content isn't accessible in this summary
- The repository (x1xhlol/system-prompts-and-models-of-ai-tools) compiles system prompts from AI tools, positioning it as a reference resource rather than original commentary